@echo OFF
cd C:\Users\Josh\OCA\kern
echo OCA Kernel Compiler (Stage 2).
pause
del boot.bin
set path=nasm\
echo Compiling...
nasm -f bin Kernel.asm -o boot.bin
echo Done Compiling.
echo Creating boot.iso file
REM del ISO
REM mkdir ISO
REM echo Adding files to boot.iso
REM copy boot.bin ISO
REM copy files\isolinux.cfg ISO
REM copy files\syslinux.cfg ISO
REM copy files\mboot.c32 ISO
REM copy files\isolinux.bin ISO
REM copy main.map ISO
echo Creating ISO
mkisofs -o boot.iso -b boot.bin -no-emul-boot -boot-load-size 4 -boot-info-table boot.bin 
REM boot.bin should be ISO
echo Done
pause